import Vue from 'vue'
import App from './App'
import router from './router'
import store from './store/index'

Vue.config.productionTip = false;

// 引入样式
import '../static/styles/reset.css'
import '../static/lib/font-awesome/css/font-awesome.min.css'
//import './assets/lib/mui/css/mui.min.css'
import $ from 'jquery'


import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'

Vue.use(ElementUI);
// 引入mintUI
//import MintUI from 'mint-ui'
//Vue.use(MintUI)


import Vant from 'vant';
 import 'vant/lib/vant-css/index.css';
Vue.use(Vant);

 //import 'mint-ui/lib/style.min.css';



import { PaletteButton } from 'mint-ui';
Vue.component(PaletteButton.name, PaletteButton);


import http from '@/js/http/http'
import publicMethod from '@/js/publicMethod'
Vue.prototype.$http = http;
Vue.prototype.$publicMethod = publicMethod.publicMethod;


/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  store,
  components: { App }, 
  template: '<App/>'
})
